using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class MainScript : MonoBehaviour
{
    public Text level;//等级
    public Text CharmValue;//魅力
    public Text AppearanceValue;//外貌
    public Text Love;//情缘
    public Text GoodWill;//好感
    public Image HerMajestyImg;
    // Start is called before the first frame update   ：：：
    void Start()
    {
        HerMajestyImg.sprite = Resources.Load<Sprite>(VariableDocument.GetInstance.roleImgAdress[VariableDocument.GetInstance.clothNum]);
        level.text = ""+VariableDocument.GetInstance.Grade();
        CharmValue.text = "" + VariableDocument.GetInstance.attributes[0];
        AppearanceValue.text = "" + VariableDocument.GetInstance.attributes[1];
        Love.text = "" + VariableDocument.GetInstance.attributes[2];
        GoodWill.text = "" + VariableDocument.GetInstance.attributes[3];
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
